/** When your routing table is too long, you can split it into small modules**/

import { componentMap } from "./index";
import { RouterInterface } from "@/router/Interface/RouterInterface";

const Router: RouterInterface = {
  path: '/',
  name: '首页',
  redirect: '/Registered',
  component: componentMap['Layout'],
  order: 1,
  meta: {
    icon: 'el-icon-s-order'
  },
  children: [{
    path: 'Home',
    name: '首页',
    component: componentMap['Home'],
    meta: {
      icon: 'el-icon-s-data'
    },
    children: []
  },]

};

export default Router;
